@import "../../styles/colors";

.para-login {
  background-color: @main700;
  height: 100%;
  &-logo {
    align-items: center;
    img {
      height: 45px !important;
    }
  }

  @media screen and (max-width: 1440px) {
    &-container {
      background-size: 50%;
      background-position: 100% 0 !important;
    }

    &-logo {
      align-items: center;
      img {
        height: 45px !important;
      }
    }

    &-slog {
      span:nth-child(1) {
        font-size: 18px !important;
      }

      span:nth-child(2) {
        font-size: 14px !important;
      }
    }
  }

  &-container {
    background-repeat: no-repeat;
    background-position: 100% 0%;
    background-size: 40%;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    width: 500px;
    height: calc(100vh - 200px);
    background-color: #ffffff;
    margin-left: -250px;
    position: absolute;
    top: 100px;
    left: 50%;
  }

  &-logo {
    margin-left: 20px;
    margin-top: 20px;

    img {
      display: inline-block;
    }

    display: flex;
  }

  &-slog {
    margin-top: 4px;
    margin-left: 10px;

    span {
      display: block;
    }

    span:nth-child(1) {
      font-size: 24px;
      font-weight: bold;
      margin-top: 8px;
    }

    span:nth-child(2) {
      font-size: 16px;
      color: #9b9b9b;
    }
  }

  &-box {
    width: 400px;
    opacity: 1;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.08);
    padding: 42px 42px 42px 42px;
    position: absolute;
    left: 10%;
    top: 22%;
  }

  &-form {
    h1 {
      font-weight: bold;
      font-size: 30px;
    }

    .login-form {
      //max-width: 300px;
    }

    .login-form-forgot {
      float: right;
      cursor: pointer;
      color: @main400;

      &:hover {
        color: @main500;
      }
    }

    .ant-col-rtl .login-form-forgot {
      float: left;
    }

    .login-form-button {
      width: 100%;
    }
  }
}

.para-divider {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: rgba(0, 0, 0, .85);
  font-size: 14px;
  font-variant: tabular-nums;
  line-height: 1.5715;
  list-style: none;
  font-feature-settings: "tnum";
  border-top: 1px solid rgba(0, 0, 0, .06)
}

.para-divider-inner-text {
  display: inline-block;
  padding: 0 1em
}

.para-divider-horizontal {
  display: flex;
  clear: both;
  width: 100%;
  min-width: 100%;
  justify-content: center;
}

.para-divider-horizontal.para-divider-with-text {
  display: flex;
  font-size: 12px;
  font-weight: 400;
  color: #6A748A;
  white-space: nowrap;
  text-align: center;
  border-top: 0;
  border-top-color: rgba(0, 0, 0, .06);
  padding: 0 6px;
}

.para-divider-horizontal.para-divider-with-text:after, .para-divider-horizontal.para-divider-with-text:before {
  position: relative;
  top: 50%;
  width: 44px;
  border-top: 1px solid transparent;
  border-top-color: inherit;
  border-bottom: 0;
  transform: translateY(50%);
  content: ""
}
.tip-text{
  font-size: 12px;
  margin-left: 20px;
  .active{
    color: @main400;
    cursor: pointer;
  }
}
